<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Introduction_to_Algorithms: src/tree_algorithms/binarytreenode/binarytreenode_test.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Introduction_to_Algorithms
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('binarytreenode__test_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">binarytreenode_test.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;src/google_test/gtest.h&quot;</code><br />
<code>#include &quot;<a class="el" href="binarytreenode_8h_source.html">binarytreenode.h</a>&quot;</code><br />
</div>
<p><a href="binarytreenode__test_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_binary_tree_node_test.html" title="BinaryTreeNodeTest:测试类，用于为测试提供基础数据 ">BinaryTreeNodeTest</a>:测试类，用于为测试提供基础数据  <a href="class_binary_tree_node_test.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5e60721fa0b0b3e063e4deeb6d6adde4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="binarytreenode__test_8h.html#a5e60721fa0b0b3e063e4deeb6d6adde4">TEST_F</a> (<a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>, test_default_node)</td></tr>
<tr class="memdesc:a5e60721fa0b0b3e063e4deeb6d6adde4"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary_tree_node_test：测试二叉树节点  <a href="#a5e60721fa0b0b3e063e4deeb6d6adde4">More...</a><br /></td></tr>
<tr class="separator:a5e60721fa0b0b3e063e4deeb6d6adde4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47c27eb6ebf09ff66a60171c8595d2be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="binarytreenode__test_8h.html#a47c27eb6ebf09ff66a60171c8595d2be">TEST_F</a> (<a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>, test_to_string)</td></tr>
<tr class="memdesc:a47c27eb6ebf09ff66a60171c8595d2be"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary_tree_node_test：测试二叉树节点  <a href="#a47c27eb6ebf09ff66a60171c8595d2be">More...</a><br /></td></tr>
<tr class="separator:a47c27eb6ebf09ff66a60171c8595d2be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab52f5722d4b86ec248400222aca3088b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="binarytreenode__test_8h.html#ab52f5722d4b86ec248400222aca3088b">TEST_F</a> (<a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>, test_to_xml)</td></tr>
<tr class="memdesc:ab52f5722d4b86ec248400222aca3088b"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary_tree_node_test：测试二叉树节点  <a href="#ab52f5722d4b86ec248400222aca3088b">More...</a><br /></td></tr>
<tr class="separator:ab52f5722d4b86ec248400222aca3088b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28341da48ac03f4c9840714ab356c7c9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="binarytreenode__test_8h.html#a28341da48ac03f4c9840714ab356c7c9">TEST_F</a> (<a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>, test_is_left_child)</td></tr>
<tr class="memdesc:a28341da48ac03f4c9840714ab356c7c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary_tree_node_test：测试二叉树节点  <a href="#a28341da48ac03f4c9840714ab356c7c9">More...</a><br /></td></tr>
<tr class="separator:a28341da48ac03f4c9840714ab356c7c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a521f0066be61aeadfe17bbf7dec7855f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="binarytreenode__test_8h.html#a521f0066be61aeadfe17bbf7dec7855f">TEST_F</a> (<a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>, test_is_right_child)</td></tr>
<tr class="memdesc:a521f0066be61aeadfe17bbf7dec7855f"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary_tree_node_test：测试二叉树节点  <a href="#a521f0066be61aeadfe17bbf7dec7855f">More...</a><br /></td></tr>
<tr class="separator:a521f0066be61aeadfe17bbf7dec7855f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a5e60721fa0b0b3e063e4deeb6d6adde4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_default_node&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>binary_tree_node_test：测试二叉树节点 </p>
<p>当创建默认节点时，节点应该满足的特征 </p>

<p>Definition at line <a class="el" href="binarytreenode__test_8h_source.html#l00055">55</a> of file <a class="el" href="binarytreenode__test_8h_source.html">binarytreenode_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a47c27eb6ebf09ff66a60171c8595d2be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_to_string&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>binary_tree_node_test：测试二叉树节点 </p>
<p>测试<code>to_string()</code>方法正确执行 </p>

<p>Definition at line <a class="el" href="binarytreenode__test_8h_source.html#l00067">67</a> of file <a class="el" href="binarytreenode__test_8h_source.html">binarytreenode_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab52f5722d4b86ec248400222aca3088b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_to_xml&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>binary_tree_node_test：测试二叉树节点 </p>
<p>测试<code>to_xml()</code>方法正确执行 </p>

<p>Definition at line <a class="el" href="binarytreenode__test_8h_source.html#l00077">77</a> of file <a class="el" href="binarytreenode__test_8h_source.html">binarytreenode_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a28341da48ac03f4c9840714ab356c7c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_is_left_child&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>binary_tree_node_test：测试二叉树节点 </p>
<p>测试 <code>is_left_child()</code>方法执行正确 </p>

<p>Definition at line <a class="el" href="binarytreenode__test_8h_source.html#l00087">87</a> of file <a class="el" href="binarytreenode__test_8h_source.html">binarytreenode_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a521f0066be61aeadfe17bbf7dec7855f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_binary_tree_node_test.html">BinaryTreeNodeTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_is_right_child&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>binary_tree_node_test：测试二叉树节点 </p>
<p>测试 <code>is_right_child()</code>方法执行正确 </p>

<p>Definition at line <a class="el" href="binarytreenode__test_8h_source.html#l00098">98</a> of file <a class="el" href="binarytreenode__test_8h_source.html">binarytreenode_test.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_8ed9dba4cd616b67da9b1338594e34e0.html">src</a></li><li class="navelem"><a class="el" href="dir_2a06141a7764b24a0bfc3200068bd811.html">tree_algorithms</a></li><li class="navelem"><a class="el" href="dir_1ca586a118e1b1bd1c74ce574da9dceb.html">binarytreenode</a></li><li class="navelem"><a class="el" href="binarytreenode__test_8h.html">binarytreenode_test.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li>
  </ul>
</div>
</body>
</html>
